This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Oct 1, 2013, 3:50 PM
5 Posts

Date Validation

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags: Date,Validation
  • Replies: 1

Using an Edit Box and setting the field type to be date works well for validation to make sure that a) there is a value (required field) and b) that a value is within a certain range.

However, when an invalid date is entered (let's say with a character), by default the XPage returns a message "This field is not a valid date". Is there a way to change this text so that I can refer to the exact field that is incorrect OR a way to build a custom validation to throw a different message; one specific to the field itself?

Thanks for the help!

Mike Davis


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal